﻿//------------------------------------------------------------------------------
// 创建标识: Copyright (C) 2007 Socansoft.com 版权所有
// 创建描述: SocanCode代码生成器自动创建于 2007-9-14 21:32:47
//
// 功能描述: 
//
// 修改标识: 
// 修改描述: 
//------------------------------------------------------------------------------

using System;


namespace FastKnow.Model
{
    /// <summary>
    /// 实体类 CategoryInfo
    /// </summary>
    public class CategoryInfo
    {
        public CategoryInfo()
        { }
        #region Model
        private int _categoryid;
        private int _parentid;
        private string _categoryname;
        private string _parentidlist;
        private string _childidlist;
        private int _depth;
        private int _sortorder;
        private int _visible;
        /// <summary>
        /// 分类id
        /// </summary>
        public int CategoryID
        {
            set { _categoryid = value; }
            get { return _categoryid; }
        }
        /// <summary>
        /// 父类id
        /// </summary>
        public int ParentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 分类名
        /// </summary>
        public string CategoryName
        {
            set { _categoryname = value; }
            get { return _categoryname; }
        }
        /// <summary>
        /// 父类列表
        /// </summary>
        public string ParentIDList
        {
            set { _parentidlist = value; }
            get { return _parentidlist; }
        }
        /// <summary>
        /// 子类列表
        /// </summary>
        public string ChildIDList
        {
            set { _childidlist = value; }
            get { return _childidlist; }
        }
        /// <summary>
        /// 分类深度,0为一级分类
        /// </summary>
        public int Depth
        {
            set { _depth = value; }
            get { return _depth; }
        }
        /// <summary>
        /// 排序序号
        /// </summary>
        public int SortOrder
        {
            set { _sortorder = value; }
            get { return _sortorder; }
        }
        /// <summary>
        /// 是否可见
        /// </summary>
        public int Visible
        {
            set { _visible = value; }
            get { return _visible; }
        }
        #endregion Model
    }
}
